
<div class="container">
	

	<div class="row">


		<div class="col-sm-offset-4 col-sm-5 top_9">
			<?php if ($valid): ?>
		    <div class="alert alert-success alert-dismissible" role="alert"><button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button><strong>Congratulations!</strong> Your account has been created. To Login <a href="<?php echo base_url('/'); ?>">Click Here</a></div>
		    <?php endif ?>

			<div class="panel panel-default">
				
				<div class="panel-heading panel-heading-login">
					<img class="center-block" src="<?php echo site_url('/images/logo.png'); ?>" alt="Logzilla's Raci" />
				</div>
				<div class="panel-body">
					<div class="row">
						<div class="col-sm-12">
							<?php  echo form_open('register/validate_new_user', array('role' => 'form')); ?>


							<div class="row">
								<div class="col-sm-6">
									<div class="form-group">
										<label for="first_name">First Name</label>
										<input type="text" class="form-control" name="first_name" id="first_name">
										<?php echo form_error('first_name'); ?>
									</div>
								</div>
								<div class="col-sm-6">
									<div class="form-group">
										<label for="last_name">Last Name</label>
										<input type="text" class="form-control" name="last_name" id="last_name" >
										<?php echo form_error('last_name'); ?>	
									</div>
								</div>
							</div>


							<div class="row">
								<div class="col-sm-6">
									<div class="form-group">
										<label for="email">Email</label>
										<input type="email" class="form-control" name="email" id="email" >
										<?php echo form_error('email'); ?>
									</div>
								</div>
								<div class="col-sm-6">
									<div class="form-group">
										<label for="username">Username</label>
										<input type="text" class="form-control" name="username" id="username" >
										<?php echo form_error('username'); ?>
									</div>
								</div>
							</div>

							<div class="row">
								<div class="col-sm-6">
									<div class="form-group">
										<label for="password">Password</label>
										<input type="password" class="form-control" name="password" id="password" >
										<?php echo form_error('password'); ?>
									</div>
								</div>
								<div class="col-sm-6">
									<div class="form-group">
										<label for="confirm_password">Confirm Password</label>
										<input type="password" class="form-control" name="confirm_password" id="confirm_password" >
										<?php echo form_error('confirm_password'); ?>
									</div>
								</div>
							</div>

							
						
								<button type="submit" class="btn top_1 btn-block btn-info">Submit</button>
						
							<p class="text-center no-margin small-font"><a href="<?php echo base_url('/'); ?>" class="black">Sign In</a></p>
							<?php echo form_close(); ?>
						</div>
					</div>
				</div>


			</div>
		</div> <?php // CLOSE COLUMN ?>
	</div> <?php // CLOSE ROW ?>
</div> <?php // CLOSE CONTAINER ?>




